package org.example.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@TableName(value ="feedback")
@Data
public class Feedback implements Serializable {
    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 修改时间
     */
    @TableField(value = "update_time")
    private Date updateTime;
    /**
     * 0未删除 1删除
     */
    @TableField(value = "is_delete")
    @TableLogic
    private Integer isDelete;
    /**
     * 用户id
     */
    @TableField(value = "user_id")
    private Integer userId;
    /**
     * 内容
     */
    @TableField(value = "content")
    private String content;
    private static final long serialVersionUID = 1L;
}
